package com.example.myweb.Service.Auth;

import com.example.myweb.Domain.Entity.User;
import com.example.myweb.Dto.DraftSaveRequestDTO;
import com.example.myweb.Dto.DraftSummaryDTO;
import java.util.List;

public interface DraftService {
    DraftSummaryDTO saveDraft(DraftSaveRequestDTO request, User currentUser);
    List<DraftSummaryDTO> getUserDrafts(User currentUser);
    void deleteDraft(Long draftId, User currentUser);
    Object getDraftContent(Long draftId, User currentUser); // 新增接口，用于加载草稿
}